/*
 * wifi_connect.h
 *
 *  Created on: Mar 24, 2021
 *      Author: kychu
 */

#ifndef USERCODE_MAIN_WIFI_CONNECT_H_
#define USERCODE_MAIN_WIFI_CONNECT_H_

#include "esp_err.h"

const char *wifi_get_sta_ip(void);
const char *wifi_get_hostname(void);
const char *wifi_get_ap_ssid(void);
const char *wifi_get_ap_passwd(void);
const char *wifi_get_sta_ssid(void);
const char *wifi_get_sta_passwd(void);
esp_err_t wifi_set_hostname(const char *s);
esp_err_t wifi_set_ap_ssid(const char *s);
esp_err_t wifi_set_ap_passwd(const char *s);
esp_err_t wifi_set_sta_ssid(const char *s);
esp_err_t wifi_set_sta_passwd(const char *s);

esp_err_t wifi_config_validate(const char *path);

#endif /* USERCODE_MAIN_WIFI_CONNECT_H_ */
